package com.peppa.petshop.service;

import com.peppa.petshop.entity.Category;
import com.peppa.petshop.entity.Customer;
import com.baomidou.mybatisplus.extension.service.IService;
import com.peppa.petshop.mapper.CustomerMapper;
import com.peppa.petshop.vo.DataVO;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 张三
 * @since 2021-06-02
 */
public interface CustomerService extends IService<Customer> {
    public DataVO<Customer> customerList(Integer page, Integer limit);
    public Customer login(String phone,String password);

    void deleteById(Integer id);

    void resetById(Integer id);

    void unlockById(Integer id);

    void renewPassword(String old_password, String new_password, String again_password);
}
